Removes the specified critical region object.
OSStatus MPDeleteCriticalRegion (MPCriticalRegionID criticalRegion);
criticalRegion
A value of type MPCriticalRegionID
that specifies the critical region object you want to remove.
function result
A result code. See
Result Codes
for a list of possible values.
DISCUSSION
Calling this function unblocks all tasks waiting to enter the critical region and their respective MPEnterCriticalRegion
calls will return with the result code kMPDeletedErr
.